package com.jf.exam.mapper;

import com.jf.exam.pojo.data.TeacherClassDO;
import com.jf.exam.pojo.vo.TeacherClassVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 操作教师和班级管理表
 * <br/>
 * Created by weidong on 2018/07/18
 */
@Repository
public interface TeacherClassMapper {

    Integer addTeacherClass(TeacherClassVO teacherClassVO);

    Integer updateTeacherClass(TeacherClassVO teacherClassVO);

    TeacherClassDO findDetailTeacherClass(TeacherClassVO teacherClassVO);

    List<TeacherClassDO> listTeacherClass(TeacherClassVO teacherClassVO);

    List<TeacherClassDO> listTeacherClassPage(TeacherClassVO teacherClassVO);

    Integer countTeacherClass(TeacherClassVO teacherClassVO);

    Integer deleteTeacherClass(TeacherClassVO teacherClassVO);

    Integer deleteTeacherClassByTid(String tid);
}
